import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import '@/permission'
import VueUeditorWrap from 'vue-ueditor-wrap';
const pinia=createPinia()
const app=createApp(App)
app.use(VueUeditorWrap)
app.use(pinia)
app.use(router)
app.use(ElementPlus, { locale: zhCn })
app.use(ElementPlus)  // 注意：需添加在 mount 之前
app.mount('#app')